package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.CustomerLawyer;
import com.ruoyi.common.core.domain.entity.SysUser;

/**
 * customerMapper接口
 * 
 * @author liwenjing
 * @date 2021-04-28
 */
public interface CustomerLawyerMapper 
{
    /**
     * 查询customer
     * 
     * @param id customerID
     * @return customer
     */
     CustomerLawyer selectCustomerLawyerById(Long id);

    /**
     * 查询customer列表
     * 
     * @param customerLawyer customer
     * @return customer集合
     */
     List<CustomerLawyer> selectCustomerLawyerList(CustomerLawyer customerLawyer);

    /**
     * 新增customer
     * 
     * @param customerLawyer customer
     * @return 结果
     */
     int insertCustomerLawyer(CustomerLawyer customerLawyer);

    /**
     * 修改customer
     * 
     * @param customerLawyer customer
     * @return 结果
     */
     int updateCustomerLawyer(CustomerLawyer customerLawyer);

    /**
     * 删除customer
     * 
     * @param id customerID
     * @return 结果
     */
     int deleteCustomerLawyerById(Long id);

    /**
     * 批量删除customer
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteCustomerLawyerByIds(Long[] ids);

    List<SysUser> selectAllLawyer();
}
